home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / OptimizedMesh / readme.txt < prev    next >
Text File  |  2001-10-10  |  2KB  |  50 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: OptimizedMesh Direct3D Sample
  3. // 
  4. // Copyright (c) 1998-2001 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The OptimizedMesh sample illustrates how to load and optimize a file-based
  11.    mesh using the D3DX mesh utility functions.
  12.  
  13.    For more info on D3DX, refer to the DirectX SDK documentation.
  14.  
  15.  
  16. Path
  17. ====
  18.    Source:     DXSDK\Samples\Multimedia\D3D\OptimizedMesh
  19.    Executable: DXSDK\Samples\Multimedia\D3D\Bin
  20.  
  21.  
  22. User's Guide
  23. ============
  24.    The following keys are implemented. The dropdown menus can be used for the
  25.    same controls.
  26.       <Enter>     Starts and stops the scene
  27.       <Space>     Advances the scene by a small increment
  28.       <F1>        Shows help or available commands.
  29.       <F2>        Prompts user to select a new rendering device or display mode
  30.       <Alt+Enter> Toggles between fullscreen and windowed modes
  31.       <Esc>       Exits the app.
  32.  
  33.  
  34. Programming Notes
  35. =================
  36.    Many Direct3D samples on the DirectX SDK use file-based meshes. This sample
  37.    is a good sample to look to see the bare bones code necessary for loading a
  38.    mesh. Note that the D3DX mesh loading functionality collapses the frame 
  39.    hierarchy of a .x file into one mesh.
  40.    
  41.    For other samples, the bare bones D3DX mesh functionality is wrapped in a 
  42.    common class class CD3DMesh. If it is desired to keep the frame hierarchy,
  43.    the common class CD3DFile can be used.
  44.  
  45.    This sample makes use of common DirectX code (consisting of helper functions,
  46.    etc.) that is shared with other samples on the DirectX SDK. All common
  47.    headers and source code can be found in the following directory:
  48.       DXSDK\Samples\Multimedia\Common
  49.  
  50.